package me.raih.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Raih
 * @version 1.8
 * @Time 2020/9/10  12:36
 */
@Controller
public class HelloController {

    @RequestMapping(value = "/love")
    @ResponseBody
    public String toHello(){

        return "你好，小双";
    }
}
